package com.xxxt.entity;

import java.util.List;

//学校实体类
public class School {
private String schoolId;//学校编号

private String schoolName;//学校名称

private List<College> colleges;//学校的学院集合


public School() {}

public School(String schoolId, String schoolName, List<College> colleges) {
	super();
	this.schoolId = schoolId;
	this.schoolName = schoolName;
	this.colleges = colleges;
}
public School(String schoolId, String schoolName) {
	super();
	this.schoolId = schoolId;
	this.schoolName = schoolName;
}
public School( String schoolName, List<College> colleges) {
	super();
	this.schoolName = schoolName;
	this.colleges = colleges;
}
public String getSchoolId() {
	return schoolId;
}
public void setSchoolId(String schoolId) {
	this.schoolId = schoolId;
}
public String getSchoolName() {
	return schoolName;
}
public void setSchoolName(String schoolName) {
	this.schoolName = schoolName;
}

public List<College> getColleges() {
	return colleges;
}

public void setColleges(List<College> colleges) {
	this.colleges = colleges;
}

@Override
public String toString() {
	return "School [schoolId=" + schoolId + ", schoolName=" + schoolName + ", colleges=" + colleges + "]";
}



}
